Altered cognitive functions in a population of elderly people hospitalized for fall-related fractures